#set($layout="baseView/empty.html")
#parse("baseView/commonStatic.html")
#parse("baseView/static.html")
<style>

</style>
<div class="work-content">
	<blockquote class="layui-elem-quote layui-quote-nm">
		<form class="form-inline" role="form">
			<div class="form-group">
				<label class="sr-only" for="name">名称</label>
				<input type="text" class="form-control" id="name" placeholder="请输入名称">
			</div>    
			<button type="submit" class="btn btn-default">查询</button>
		</form>
	</blockquote>
	<div>
		<table class="layui-table tab-content">
  		<!-- <colgroup>
		    <col width="150">
		    <col width="200">
		    <col>
		 </colgroup> -->
		<thead>
			<tr>
				<th>序号</th>
				<th>用户名</th>
				<th>密码</th>
				<th>用户邮箱</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
		#foreach($user in $!pageResult.dataList)
		<tr>
			<td>$!user.userId</td>
			<td>$!user.userName</td>
			<td>$!user.userPassword</td>
			<td>$!user.userEmail</td>
			<td>
				<button type="button" class="layui-btn layui-btn-small">查看</button>
			</td>
		</tr>
		#end
	</tbody>
	</table>
		<!-- 底部分页按钮 -->
<div class="pageBox" id="pageBox"></div>
	</div>
  

</div>


<script type='text/javascript'>    
layui.use(['laypage', 'layer'], function(){
	  var laypage = layui.laypage
	  ,layer = layui.layer;
	  
	  laypage({
	    cont: 'pageBox'
	    ,pages: $!pageResult.pages //总页数
	    ,groups: 5 //连续显示分页数
	    ,skip: true
	  });
});	  
	  
</script>